package com.ruoyi.grade.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("student_total_grade")
public class StudentTotalGrade {

  @TableId(type = IdType.AUTO)
  private Long id;

  @Excel(name = "门数")
  private Long courseCount;

  @Excel(name = "算术平均分")
  private Double arithmeticAvg;

  @Excel(name = "算术平均分排名")
  private Long arithmeticAvgRank;

  @Excel(name = "学分加权平均分")
  private Double weightedAvg;

  @Excel(name = "学分加权平均分排名")
  private Long weightedAvgRank;

  @Excel(name = "平均绩点")
  private BigDecimal avgGpa;

  @Excel(name = "平均绩点排名")
  private Integer avgGpaRank;

  @Excel(name = "平均学分绩点")
  private Double creditGpa;

  @Excel(name = "平均学分绩点排名")
  private Long creditGpaRank;

  @Excel(name = "不及格门次")
  private Long failedCourseCount;

  @Excel(name = "姓名")
  private String userName;

  @Excel(name = "学年")
  private String academicYear;

  @Excel(name = "学期")
  private String semester;

  @Excel(name = "学号")
  private String studentId;

  @Excel(name = "专业")
  private String major;
}
